package com.liuqm.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuqm
 * @since 2024-09-04
 */
@TableName("czkt_product_attr")
public class CzktProductAttr implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "attr_id", type = IdType.AUTO)
      private Integer attrId;

      /**
     * 属性名称
     */
      private String attrName;

      /**
     * 所属分类
     */
      private Integer spuId;
    
    public Integer getAttrId() {
        return attrId;
    }

      public void setAttrId(Integer attrId) {
          this.attrId = attrId;
      }
    
    public String getAttrName() {
        return attrName;
    }

      public void setAttrName(String attrName) {
          this.attrName = attrName;
      }

    public Integer getSpuId() {
        return spuId;
    }

    public void setSpuId(Integer spuId) {
        this.spuId = spuId;
    }

    @Override
    public String toString() {
        return "CzktProductAttr{" +
              ", attrId = " + attrId +
                  ", attrName = " + attrName +
                  ", classId = " + spuId +
              "}";
    }
}
